package com.meichis.yndms.model;

import java.io.Serializable;
import java.util.ArrayList;

public class InspectItem implements Serializable {
    //ID
    private int ID;
    private String Code = "";
    //项目名称
    private String Name = "";
    //填报方式 1:小数 2:文字 3:选择项(单选) 4:选择项(多选) 5:是否选项 6:滚轮 7:日期 8 整数  9 照片
    private int FillMode;
    //数值单位
    private String Unit = "";
    //备注
    private String Remark = "";
    //巡查项目填报选项
    private ArrayList<InspectItemOption> Options = new ArrayList<>();
    // 最大值
    private String MaxValue = "";
    // 最小值
    private String MinValue = "";
    // 默认值
    private String DefaultValue = "";
    // 正则表达式
    private String RegularExpression = "";

    private String SubTitle = "";

    private String DicTableName;

    private String NeedExtRemark = "";
    //求和,1表示求和，2表示不求和
    private int IsSum = 0;

    //是否显示产品列表
    private String IsDisplaySKU = "";

    //获取产品类表的Code
    private String InspectTemplateCode = "";

    private String FreshStatus = "";

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public int getFillMode() {
        return FillMode;
    }

    public void setFillMode(int fillMode) {
        FillMode = fillMode;
    }

    public String getUnit() {
        return Unit;
    }

    public void setUnit(String unit) {
        Unit = unit;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }


    public ArrayList<InspectItemOption> getOptions() {
        return Options;
    }

    public void setOptions(ArrayList<InspectItemOption> options) {
        Options = options;
    }

    public String getMaxValue() {
        return MaxValue;
    }

    public void setMaxValue(String maxValue) {
        MaxValue = maxValue;
    }

    public String getMinValue() {
        return MinValue;
    }

    public void setMinValue(String minValue) {
        MinValue = minValue;
    }

    public String getDefaultValue() {
        return DefaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        DefaultValue = defaultValue;
    }

    public String getRegularExpression() {
        return RegularExpression;
    }

    public void setRegularExpression(String regularExpression) {
        RegularExpression = regularExpression;
    }

    public String getSubTitle() {
        return SubTitle;
    }

    public void setSubTitle(String subTitle) {
        SubTitle = subTitle;
    }

    public String getNeedExtRemark() {
        return NeedExtRemark;
    }

    public void setNeedExtRemark(String needExtRemark) {
        NeedExtRemark = needExtRemark;
    }

    public String getIsDisplaySKU() {
        return IsDisplaySKU;
    }

    public void setIsDisplaySKU(String isDisplaySKU) {
        IsDisplaySKU = isDisplaySKU;
    }

    public String getInspectTemplateCode() {
        return InspectTemplateCode;
    }

    public void setInspectTemplateCode(String inspectTemplateCode) {
        InspectTemplateCode = inspectTemplateCode;
    }

    public String getDicTableName() {
        return DicTableName;
    }

    public void setDicTableName(String dicTableName) {
        DicTableName = dicTableName;
    }

    public int isSum() {
        return IsSum;
    }

    public void setSum(int sum) {
        IsSum = sum;
    }

    public String getFreshStatus() {
        return FreshStatus;
    }

    public void setFreshStatus(String freshStatus) {
        FreshStatus = freshStatus;
    }

    @Override
    public String toString() {
        return "InspectItem{" +
                "ID=" + ID +
                ", Code='" + Code + '\'' +
                ", Name='" + Name + '\'' +
                ", FillMode=" + FillMode +
                ", Unit='" + Unit + '\'' +
                ", Remark='" + Remark + '\'' +
                ", Options=" + Options +
                ", MaxValue='" + MaxValue + '\'' +
                ", MinValue='" + MinValue + '\'' +
                ", DefaultValue='" + DefaultValue + '\'' +
                ", RegularExpression='" + RegularExpression + '\'' +
                ", SubTitle='" + SubTitle + '\'' +
                ", DicTableName='" + DicTableName + '\'' +
                ", NeedExtRemark='" + NeedExtRemark + '\'' +
                ", IsSum=" + IsSum +
                '}';
    }
}
